from multiprocessing import Process
import time,os
def func(name):
	for _ in range(10):
		print(f'{name}遍历次数：',_)
		time.sleep(1)
		
if __name__ == '__main__':
    p1=Process(target=func,args=('嬴政',))
    p2=Process(target=func,args=('毛主席',))

    p1.start()
    p2.start()
